package com.diy.springframework.step.factory;

import com.diy.springframework.step.processor.BeanPostProcessor;
import com.diy.springframework.step.registry.SingletonBeanRegistry;

public interface ConfigurableBeanFactory extends SingletonBeanRegistry, BeanFactory {

    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void destroySingletons() throws Exception;
}
